-- GENERATED SPELL FOR [Snorts] --


function spell0_29996(pUnit, Event) --@Boar Charge,Self--
pUnit:FullCastSpellOnTarget(3385,pUnit)
pUnit:RegisterEvent('Sorts_29996', 4000, 1)
end

function Sorts_29996(pUnit, Event)
local choix_sorts_29996 = math.random(0, 0)
if choix_sorts_29996 == 0 then
pUnit:RegisterEvent('spell0_29996', 1, 1)
end
end

function mob29996_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29996', math.random(1500, 3000), 1)
end

function mob29996_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29996_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29996_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29996, 1, 'mob29996_Action')
RegisterUnitEvent(29996, 2, 'mob29996_Leave')
RegisterUnitEvent(29996, 3, 'mob29996_Kill')
RegisterUnitEvent(29996, 4, 'mob29996_Die')
